package com.cloudkinto.service.tailtrucks.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.cloudkinto.common.utils.StringsUtil;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author zhangyy
 * @date 2020/10/28 9:14
 * @description:
 */
@Data
public class TailTrucksPageRes {

    private Long id;

    private String trucksNumber;

    /**
     * 所有订单的公司标识拼接起来
     */
    private String trucksCompanyCode;

    /**
     * 所有订单po号拼接起来
     */
    private String poNumberMuti;

    private Double totalVolume;

    private Double totalWeight;

    private Integer packageCount;

    private Integer productCount;

    private Long fbaStorageId;
    private String fbaStorage;

    private Long storageId;
    private String storage;

    /**
     * 约车模板id
     */
    private String trucks;

    /**
     * 预约id 手动输入
     */
    private String appointmentCode;

    /**
     * 亚马逊确认时间
     */
    private Date amazonTime;

    private String timeStatus;


    /**
     * 预约id 手动输入
     */
    private String appointmentCode2;

    /**
     * 亚马逊确认时间
     */
    private Date amazonTime2;

    private String timeStatus2;



    /**
     * 预约id 手动输入
     */
    private String appointmentCode3;

    /**
     * 亚马逊确认时间
     */
    private Date amazonTime3;

    private String timeStatus3;




    /**
     * 实际约车时间
     */
    private Date appointmentTime;

    /**
     * 1:待确定 2：待约车3：已约车4：已配送
     */
    private Integer statusId;
    private String status;

    private Date createTime;

    private double truckVolume;
    private double truckWeight;

    List<TailTrucksDetailListRes> items;

    public String getStatus() {
        return StringsUtil.createI18Message(status);
    }
}
